home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
trueSpace 7.6
/
tS761B8Std.exe
/
{app}
/
Scripts
/
MaterialEditor
/
Bricks
/
Logical
/
IsNan.HLSL.Brick.xml
< prev
next >
Wrap
Extensible Markup Language
|
2008-06-10
|
1KB
|
27 lines
<?xml version="1.0" encoding="utf-8" ?>
<ME_BRICK GUID="{7FB2B6DA-A9C1-454B-8C2F-BBF156BFB643}" Name="RtIsNAN" GUIName="IsNAN" Description="Return nonzero if any component of input is NAN (not a number) [isnan]">
<ME_BRICK_INPUTPARAM GUID="{721E2C32-F668-4968-97E5-5EC2B4E9F573}" Name="Input" Type="RtNumeric"/>
<ME_BRICK_OUTPUTPARAM GUID="{8FE9E418-5EAB-45E1-866B-922EFB1BEF3F}" Name="Result" Type="RtFloat"/>
<ME_BRICK_CODE><![CDATA[
void RtIsNAN(in RtFloat Input, out RtFloat Result) {
Result = rtx_IsNAN(Input);
}
void RtIsNAN(in RtFloat3 Input, out RtFloat Result) {
Result = rtx_IsNAN(Input);
}
void RtIsNAN(in RtFloat4 Input, out RtFloat Result) {
Result = rtx_IsNAN(Input);
}
void RtIsNAN(in RtFloat3x3 Input, out RtFloat Result) {
Result = rtx_IsNAN(Input);
}
void RtIsNAN(in RtFloat4x4 Input, out RtFloat Result) {
Result = rtx_IsNAN(Input);
}
]]></ME_BRICK_CODE>
</ME_BRICK>